package com.qfedu.lc.api.user.feigin;

import com.qfedu.lc.api.config.OpenFeignConfig;
import com.qfedu.lc.common.param.UserVipAdd;
import com.qfedu.lc.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
@FeignClient(value = "lc-userserver",configuration= OpenFeignConfig.class)
public interface UserVipService {

    /**
     * 用户购买vip 或者 vip 续期
     *
     * @param userVipAdd
     * @return
     */
    @RequestMapping("/server/userVip/save")
    public R save(@RequestBody UserVipAdd userVipAdd);


}